package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.HisContractXtdDao;
import io.renren.entity.HisContractXtdEntity;
import io.renren.service.HisContractXtdService;



@Service("hisContractXtdService")
public class HisContractXtdServiceImpl implements HisContractXtdService {
	@Autowired
	private HisContractXtdDao hisContractXtdDao;
	
	@Override
	public HisContractXtdEntity queryObject(String id){
		return hisContractXtdDao.queryObject(id);
	}
	
	@Override
	public List<HisContractXtdEntity> queryList(Map<String, Object> map){
		return hisContractXtdDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return hisContractXtdDao.queryTotal(map);
	}
	
	@Override
	public void save(HisContractXtdEntity hisContractXtd){
		hisContractXtdDao.save(hisContractXtd);
	}
	
	@Override
	public void update(HisContractXtdEntity hisContractXtd){
		hisContractXtdDao.update(hisContractXtd);
	}
	
	@Override
	public void delete(String id){
		hisContractXtdDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		hisContractXtdDao.deleteBatch(ids);
	}
	
}
